package com.zf.yichat.utils.common;

import com.google.common.collect.Interner;
import com.google.common.collect.Interners;

public enum SysInternPool {
    /**
     * 实例
     */
    INSTANCE;

    private Interner<String> pool = Interners.newWeakInterner();

    public String internUid(Long id) {
        return this.pool.intern("uid:" + id);
    }
}
